package com.wing.product.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.WarehouseProductMarkPrice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WarehouseProductMarkPriceDao  extends BaseMapper<WarehouseProductMarkPrice> {
    List<Map> list4app(@Param("page") Page<Map> page, @Param("params") Map<String, Object> params);

    List<Map> computePriceDiameter(@Param("type")String type, @Param("processId")String processId, @Param("markId")String markId,  @Param("diameter")String diameter);

    List<Map> computePriceLength(@Param("type")String type, @Param("processId")String processId, @Param("markId")String markId, @Param("warehouseLength")String warehouseLength);
    List<Map> findBundle(@Param("type")String type, @Param("processId")String processId, @Param("markId")String markId);
    Map findLabelName(String id);
    Map findMark( String markI);
}
